/**
 * Project Name:lee
 * File Name:BaseMapper.java
 * Package Name:com.lee.mapper
 * Date:2016年12月8日下午4:49:43
 * Copyright (c) 2016, chenzhou1025@126.com All Rights Reserved.
 *
*/

package com.lee.base.mapper;

import org.apache.ibatis.annotations.Param;

/**
 * ClassName:BaseMapper <br/>
 * Function: TODO ADD FUNCTION. <br/>
 * Reason:	 TODO ADD REASON. <br/>
 * Date:     2016年12月8日 下午4:49:43 <br/>
 * @author   dell
 * @version  
 * @since    JDK 1.6
 * @see 	 
 */
public interface BaseMapper<T>  {
	int delete (int id);
	
	int insert(T t);
	
	int update(T t);
	
	T findById(@Param("id")int id);
	
	int count(T t);
}

